package work.cqhx.springapi.pojo;

public class Student {
    private Integer id;
    private String name;
    private String classes;
    private Float chinese;
    private Float math;
    private Float english;
    private Float score;


    public Student() {
    }

    public Student(Integer id, String name, String classes, Float chinese, Float math, Float english, Float score) {
        this.id = id;
        this.name = name;
        this.classes = classes;
        this.chinese = chinese;
        this.math = math;
        this.english = english;
        this.score = score;
    }

    /**
     * 获取
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * 设置
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 获取
     * @return classes
     */
    public String getClasses() {
        return classes;
    }

    /**
     * 设置
     * @param classes
     */
    public void setClasses(String classes) {
        this.classes = classes;
    }

    /**
     * 获取
     * @return chinese
     */
    public Float getChinese() {
        return chinese;
    }

    /**
     * 设置
     * @param chinese
     */
    public void setChinese(Float chinese) {
        this.chinese = chinese;
    }

    /**
     * 获取
     * @return math
     */
    public Float getMath() {
        return math;
    }

    /**
     * 设置
     * @param math
     */
    public void setMath(Float math) {
        this.math = math;
    }

    /**
     * 获取
     * @return english
     */
    public Float getEnglish() {
        return english;
    }

    /**
     * 设置
     * @param english
     */
    public void setEnglish(Float english) {
        this.english = english;
    }

    /**
     * 获取
     * @return score
     */
    public Float getScore() {
        return score;
    }

    /**
     * 设置
     * @param score
     */
    public void setScore(Float score) {
        this.score = score;
    }

    public String toString() {
        return "Student{id = " + id + ", name = " + name + ", classes = " + classes + ", chinese = " + chinese + ", math = " + math + ", english = " + english + ", score = " + score + "}";
    }
}
